using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.HomeRefinance
{
    public class HFPerferLoan
    {
        public HFPerferLoan()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _hfloanid;
        private Int64 _hfid;
        private Int64 _hfpersonnelid;
        private string _hffinnature;
        private string _hffinins;
        private Int16 _hffinmargin;
        private Int16 _hfloantenure;
        private DateTime _hfpurchasedate;
        private string _hfcurrentbank;
        private float _hfoutloanamount;
        private bool _hfpurchasemortage;
        private bool _hfcpfmonthrepay;
        private float _hfcpfmonthrepayamount;
        private bool _hfcpfslfee;
        private float _hfcpfslfeeamount;
        private bool _hfisusecpf;
        //common field name
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;

        public Int64 HFLoanID
        {
            get { return _hfloanid; }
            set { _hfloanid = value; }
        }
        public Int64 HFID
        {
            get { return _hfid; }
            set { _hfid = value; }
        }

        public Int64 HFPersonnelID
        {
            get { return _hfpersonnelid; }
            set { _hfpersonnelid = value; }
        }

        public string HFFinNature
        {
            get { return _hffinnature; }
            set { _hffinnature = value; }
        }

        public string HFFinIns
        {
            get { return _hffinins; }
            set { _hffinins = value; }
        }

        public Int16 HFFinMargin
        {
            get { return _hffinmargin; }
            set { _hffinmargin = value; }
        }

        public Int16 HFLoanTenure
        {
            get { return _hfloantenure; }
            set { _hfloantenure = value; }
        }

        public DateTime HFPurchaseDate
        {
            get { return _hfpurchasedate; }
            set { _hfpurchasedate = value; }
        }

        public string HFCurrentBank
        {
            get { return _hfcurrentbank; }
            set { _hfcurrentbank = value; }
        }

        public float HFOutLoanAmount
        {
            get { return _hfoutloanamount; }
            set { _hfoutloanamount = value; }
        }

        public bool HFPurchaseMortage
        {
            get { return _hfpurchasemortage; }
            set { _hfpurchasemortage = value; }

        }

        public bool HFCPFMonthRepay
        {
            get { return _hfcpfmonthrepay; }
            set { _hfcpfmonthrepay = value; }
        }

        public float HFCPFMonthRepayAmount
        {
            get { return _hfcpfmonthrepayamount; }
            set { _hfcpfmonthrepayamount = value; }
        }

        public bool HFCPFSLFee
        {
            get { return _hfcpfslfee; }
            set { _hfcpfslfee = value; }
        }

        public float HFCPFSLFeeAmount
        {
            get { return _hfcpfslfeeamount; }
            set { _hfcpfslfeeamount = value; }
        }

        public bool HFIsUseCPF
        {
            get { return _hfisusecpf; }
            set { _hfisusecpf = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFields()
        {
            _hfid = 0;
            _hfpersonnelid = 0;
            _hffinnature = "";
            _hffinins = "";
            _hffinmargin = 0;
            _hfloantenure = 0;
            _hfpurchasedate = CE.Global.General.GetUTCDateTime();
            _hfcurrentbank = "";
            _hfoutloanamount = 0.0f;
            _hfpurchasemortage = false;
            _hfcpfmonthrepay = false;
            _hfcpfmonthrepayamount = 0.0f;
            _hfcpfslfee = false;
            _hfcpfslfeeamount = 0.0f;
            _hfisusecpf = false;
            _vieweddetailid = 0;
            //common field name
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
        }

    }
}
